package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_tenant")
public class Tenant {
	@TableId(value = "id", type = IdType.AUTO)
	private int id;
	
	@TableField("tenantId")
	private int tenantId;//用户id
	
	@TableField("loginName")
	private String loginName;//登录名
	
	@TableField("userNumLimit")
	private int userNumLimit;//用户数量限制
	
	@TableField("billsNumLimit")
	private int billsNumLimit;//单据数量限制
	
	@TableField("createTime")
	private Date createTime;//创建时间

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName == null ? null : loginName.trim();
	}

	public int getUserNumLimit() {
		return userNumLimit;
	}

	public void setUserNumLimit(int userNumLimit) {
		this.userNumLimit = userNumLimit;
	}

	public int getBillsNumLimit() {
		return billsNumLimit;
	}

	public void setBillsNumLimit(int billsNumLimit) {
		this.billsNumLimit = billsNumLimit;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
}
